/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:添加CVS用户,请求方式:POST,参数:cvsUserDTO,返回值:JsonResult,是否可用:ok
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     * @param cvsUserDTO  cvsUserDTO  Required:[true]  Type:[]  Location:[body]
     */
    'saveUser': {url: '/cms/v1/api/cvs/user', method: 'post'},

     /*
     * 方法描述:获取CVS用户列表,请求方式:GET,参数:cvsUserSearchParam,返回值:JsonResult,是否可用:ok
     * @param cvsUserSearchParam  cvsUserSearchParam  Required:[true]  Type:[]  Location:[body]
     */
    'sysUserInsert': {url: '/cms/v1/api/cvs/users', method: 'post'},

     /*
     * 方法描述:获取CVS用户信息,请求方式:GET,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[string]  Location:[path]
     */
    'getUserById': {url: '/cms/v1/api/cvs/user/{id}', method: 'get'},

     /*
     * 方法描述:删除CVS用户,请求方式:DELETE,参数:id,返回值:JsonResult,是否可用:ok
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     * @param id  id  Required:[true]  Type:[string]  Location:[path]
     */
    'deleteUserById': {url: '/cms/v1/api/cvs/user/{id}', method: 'delete'},

     /*
     * 方法描述:修改CVS用户,请求方式:PUT,参数:cvsUserDTO,id,返回值:JsonResult,是否可用:ok
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     * @param id  id  Required:[true]  Type:[string]  Location:[path]
     * @param cvsUserDTO  cvsUserDTO  Required:[true]  Type:[]  Location:[body]
     */
    'updateUser': {url: '/cms/v1/api/cvs/user/{id}', method: 'put'},

};

 export default api;
